<?php print form(null,null,array('enctype'=>'multipart/form-data'));?>
<table class="x">
  <tr>
  	<td><b>Headline</b></td>
  	<td><?php print input('text','headline',$this->v('headline'));?></td>
  </tr>
  <tr>
  	<td><b>Front text</b><br/>The text that appears on the front page, over the top landscape image.</td>
  	<td><?php wp_editor($this->v('front_text'), 'front_text',array('textarea_rows'=>4,'wpautop'=>false));?></td>
  </tr>
  <tr>
  	<td><b>Welcome message</b><br/>The headline that appears right before the first boxes, on the front page.</td>
  	<td><?php print input('text','welcome',$this->v('welcome'));?></td>
  </tr>
  <tr>
    <td>
    	<b>Main logo</b><br/><span class="small">Must be 30px in height.</span><br/>
    	<img src="<?php print WEBROOT.'/upload/front/logo.png';?>"/>
    </td>
    <td>
    	<?php print input('file','logo','Upload a logo');?> <b style="line-height: 30px;margin-left: 30px;vertical-align: top;">OR</b><hr/>
    	<b>Set text:</b> <?php print input('text','logo_text',$this->v('logo_text'));?><br/>
    	<span class="small">Leave this empty if you do not wish to use a text as logo. <br/>Encase the text [between brackets] to color it as defined in <b>#header h1 a b</b> in the "Custom colors" section.</span>
    </td>
  </tr>
  <tr>
  	<td><b>Copyright notice</b></td>
  	<td><?php print input('text','copyright',$this->v('copyright'));?></td>
  </tr>
</table>
<?php print submit('Upload').form(true);?>